package com.dwy2002.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * OSS配置类
 *
 * @author 杜伟毅
 * @version 1.0
 * @since 2025/01/18
 */
@Data
@ConfigurationProperties(prefix = "oss-servers")
public class MyOssConfig {
    /**
     * 阿里域名
     */
    private String altDomain;
    /**
     * 筒名
     */
    private String bucketName;
    /**
     * 地域节点
     */
    private String endpoint;
    /**
     * ACCESS_KEY_ID
     */
    private String accessKeyId;
    /**
     * ACCESS_KEY_SECRET
     */
    private String accessKeySecret;
}
